package cmd;

import data.Data_Book;
import tree.LeafKind;

class Cmd_AddPage extends Cmd {
    var page : Int;
    public function new() {
        super();    
    }

    public override function Do() {
        page = data_book.AddPage();
    }

    public override function Undo() {
        data_book.RemovePage(page);
    }

}